from test24random_list import sjlb


def bubble_sort(ints=[]):
    j = 0
    while j < len(ints):
        i = 1
        while i < len(ints) - j:
            if ints[i] < ints[i - 1]:
                ints[i], ints[i - 1] = ints[i - 1], ints[i]
            i += 1
        j += 1
    return ints


ints = sjlb()
print(bubble_sort(ints))
